package esrunecalc;

/**
 *
 * @author Trevor
 */
public class Rune {

    private String name;
    private int reqLvl;
    private int runeVal;
    private String effect1; //Weapons/Gloves
    private String effect2; //Helms/Boots
    private String effect3; //Armor/Shield/Belts

    public Rune(String name, int reqLvl, int runeVal,
            String effect1, String effect2, String effect3)
    {

        this.name=name;
        this.reqLvl=reqLvl;
        this.runeVal=runeVal;
        this.effect1=effect1;
        this.effect2=effect2;
        this.effect3=effect3;

    }

    public String name()
    {
        return name;
    }

    public int getReqLvl()
    {
        return reqLvl;
    }

    public int getRuneVal()
    {
        return runeVal;
    }

    public String getEffect(int n)
    {
        if(n==1)
            return effect1;
        if(n==2)
            return effect2;
        if(n==3)
            return effect3;
        else
            return "NULL";
    }

}
